package com.tju.eduservice.client;

import com.tju.Result;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public class VodClientImpl implements VodClient{
    //出错的时候才会执行
    @Override
    public Result removeVideo(String id) {
        return Result.error().message("删除视频出错");
    }

    @Override
    public Result deleteBatch(List<String> videoList) {
        return Result.error().message("删除多个视频出错");
    }
}
